# _*_coding:utf-8 _*_
__author__ = 'fangzhihui'
__date__ = '2017/6/2 0002  23:41'
from yunpiancode.SmsOperator import SmsOperator
import sys
import json


reload(sys)
sys.setdefaultencoding('utf-8')
APIKEY = 'your apikey'
smsOperator = SmsOperator(APIKEY)
result = smsOperator.single_send({'mobile': '13812345678', 'text': '【云片网】您的验证码是1234'})
print json.dumps(result.content, ensure_ascii=False)